package cn.oms.dict.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("frequency")
@ApiModel(value="Frequency对象", description="")
public class Frequency implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID(新增生成)")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "频次CODE(新增生成) (FQ)")
    @TableField("FREQUENCY_CODE")
    private String frequencyCode;

    @ApiModelProperty(value = "频次详情")
    @TableField("FREQUENCY_DETAIL")
    private String frequencyDetail;

    @ApiModelProperty(value = "频次名称（英文）")
    @TableField("FREQUENCY_NAME_EN")
    private String frequencyNameEn;

    @ApiModelProperty(value = "频次名称（中文）")
    @TableField("FREQUENCY_NAME_CN")
    private String frequencyNameCn;

    @ApiModelProperty(value = "频次简称")
    @TableField("FREQUENCY_NAME_SN")
    private String frequencyNameSn;

    @ApiModelProperty(value = "频次类型（0正常 1嘱咐 2命令型 3时间）")
    @TableField("FREQUENCY_TYPE")
    private Integer frequencyType;

    @ApiModelProperty(value = "频次备注（嘱咐）（命令型）")
    @TableField("FREQUENCY_REMARK")
    private String frequencyRemark;

    @ApiModelProperty(value = "频次天数（正常）")
    @TableField("FREQUENCY_DAY")
    private Integer frequencyDay;

    @ApiModelProperty(value = "频次天数单位CODE")
    @TableField("FREQUENCY_DAY_UNIT_CODE")
    private String frequencyDayUnitCode;

    @ApiModelProperty(value = "频次天数单位名称")
    @TableField("FREQUENCY_DAY_UNIT_NAME")
    private String frequencyDayUnitName;

    @ApiModelProperty(value = "频次次数（正常）")
    @TableField("FREQUENCY_NUM")
    private Integer frequencyNum;

    @ApiModelProperty(value = "频次次数单位CODE")
    @TableField("FREQUENCY_NUM_UNIT_CODE")
    private String frequencyNumUnitCode;

    @ApiModelProperty(value = "频次次数单位名称")
    @TableField("FREQUENCY_NUM_UNIT_NAME")
    private String frequencyNumUnitName;

    @ApiModelProperty(value = "频次时间（时间）")
    @TableField("FREQUENCY_TIME")
    private String frequencyTime;

    @ApiModelProperty(value = "频次平均时间（正常）")
    @TableField("FREQUENCY_AVERAGE_TYPE")
    private String frequencyAverageType;

    @ApiModelProperty(value = "状态标记（0禁用 1启用）")
    @TableField("TYPE")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
